package com.example.flow.dao.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "flow_approve_apply_detail")
public class FlowApproveApplyDetail {
    /**
     * 申请编号
     */
    @Id
    @Column(name = "apply_id")
    private String applyId;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 审批报文
     */
    @Column(name = "content")
    private String content;

    /**
     * 获取申请编号
     *
     * @return apply_id - 申请编号
     */
    public String getApplyId() {
        return applyId;
    }

    /**
     * 设置申请编号
     *
     * @param applyId 申请编号
     */
    public void setApplyId(String applyId) {
        this.applyId = applyId == null ? null : applyId.trim();
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取审批报文
     *
     * @return content - 审批报文
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置审批报文
     *
     * @param content 审批报文
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}